<p>Followings are new players found in the uploaded data. Click on the cell to edit the data.</p>
<div id="toolbar">
	<ul id="toollist">
		<li><?php printf("<a href=\"?%s&step=6&import_status_id=%s\">Complete the import</a>",$this->model->selected,$importStatusId);?></li>
	</ul>
</div>
<table cellspacing="0" cellpadding="0" border="1" width="100%">
	<thead>
		<tr>
			<th></th>
			<th>Player</th>
			<th>Course</th>
			<th>1</th>
			<th>2</th>
			<th>3</th>
			<th>4</th>
			<th>5</th>
			<th>6</th>
			<th>7</th>
			<th>8</th>
			<th>9</th>
			<th>10</th>
			<th>11</th>
			<th>12</th>
			<th>13</th>
			<th>14</th>
			<th>15</th>
			<th>16</th>
			<th>17</th>
			<th>18</th>
		</tr>
	</thead>
	<?php if(count($result) > 0){?>
		<tbody>
			<?php foreach($result as $row){?>
			<tr>
				<td><input type="checkbox" value="1"/></td>
				<?php 
				printf("<td>%s %s</td>",$row->firstname,$row->lastname);
				printf("<td>%s</td>",$row->course);
				printf("<td>%s</td>",$row->h1);
				printf("<td>%s</td>",$row->h2);
				printf("<td>%s</td>",$row->h3);
				printf("<td>%s</td>",$row->h4);
				printf("<td>%s</td>",$row->h5);
				printf("<td>%s</td>",$row->h6);
				printf("<td>%s</td>",$row->h7);
				printf("<td>%s</td>",$row->h8);
				printf("<td>%s</td>",$row->h9);
				printf("<td>%s</td>",$row->h10);
				printf("<td>%s</td>",$row->h11);
				printf("<td>%s</td>",$row->h12);
				printf("<td>%s</td>",$row->h13);
				printf("<td>%s</td>",$row->h14);
				printf("<td>%s</td>",$row->h15);
				printf("<td>%s</td>",$row->h16);
				printf("<td>%s</td>",$row->h17);
				printf("<td>%s</td>",$row->h18);
				?>
			</tr>
			<?php }?>
		</tbody>
	<?php }else{?>
		<tbody>
			<tr>
				<td colspan="21" align="center">
					<strong>No new courses found.</strong>
					<p>Proceed to next step.</p>
				</td>
			</tr>
		</tbody>
	<?php }?>
</table>